package com.dbh.design.methodtemplate;

/**
 * 主流程方法
 * @author dongbanghui
 * @create 2023/4/5
 */
public class Main {

    public static void main(String[] args) {
        ContractConstruct contractConstruct = new ContractConstruct();
        contractConstruct.addPostProcessor(postProcessor -> System.out.println("签前审核"));
        contractConstruct.addPostProcessor(postProcessor -> System.out.println("认证证书"));
        contractConstruct.createContract();
    }



}
